// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import $ from 'jquery'
import 'bootstrap'

import PullTo from 'vue-pull-to'
//导入仓库
import store from './store'
//mint-ui导入
import { InfiniteScroll } from 'mint-ui';

Vue.use(InfiniteScroll);

//导入elementui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

import axios from './api/axios';
Vue.prototype.$http = axios;


// axios.defaults.withCredentials=true


Vue.config.productionTip = false
import swip from 'swiper/dist/css/swiper.css'   //需要在单独把这个css引入
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
Vue.use(VueAwesomeSwiper)



new Vue({
  el: '#app',
  router,
  store,
  PullTo,
  
  components: { App },
  template: '<App/>'
})
